package stringBuilder;

import java.util.Arrays;

public class SplitDemo {
    public static void main(String[] args) {
        String name="123.png";
        String []arr=name.split("\\.");
        System.out.println(Arrays.toString(arr));
        long ms = System.currentTimeMillis();
        name=ms+"."+arr[1];
        System.out.println("name"+name);


    }
}
